MotoPress\Appointment\Structures\DatePeriod S

Total Complexity 23
Dependencies 2
Dependents 3
Total lines 208
Lines of code 86
Logical lines of code 44
Comment lines 90
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
toString()
S
60 5 13
splitToDates()
S
61 2 12
validate()
S
62 2 12
__construct()
S
68 2 8
convertToDate()
S
70 2 7
inPeriod()
S
75 2 4
createFromPeriod()
S
67 2 8
parsePeriod()
S
72 1 5
setStartDate()
S
80 1 3
setEndDate()
S
80 1 3
calcDays()
S
75 1 4
__toString()
S
81 1 3
__clone()
S
77 1 4